package com.ktsmartcar.service.dwr;

import com.ktsmartcar.model.CorpInfo;
import com.ktsmartcar.service.CorpInfoService;

public class CorpInfoServiceDwr {
	private CorpInfoService corpInfoService;
	
	public void setCorpInfoService(CorpInfoService corpInfoService) {
		this.corpInfoService = corpInfoService;
	}

	public boolean checkCorpNo(String corpNo){		
		CorpInfo corpInfo = this.corpInfoService.getCorpInfo(corpNo);
		if(corpInfo != null){
			return true;
		}
		return false;
	}
}
